package com.ynny.chapter05.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("address")
public class Address {

    @TableId(type = IdType.AUTO)
    private Integer addressId;

    private String city;

    private String address;

    private Integer userId;
}
